From: Gerd Moellmann Date: Wed, 2 May 2001 11:12:42 +0000 (+0000) Subject: (x_draw_stretch_glyph_string): Don't draw background X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~40503 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=87ee4353fe88f501cead525b6ff3951f71042998;p=emacs.git (x_draw_stretch_glyph_string): Don't draw background again if it has already been drawn. --- diff --git a/src/xterm.c b/src/xterm.c index 118c1261ee9..166ffc48adc 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -4408,7 +4408,7 @@ x_draw_stretch_glyph_string (s) } } } - else + else if (!s->background_filled_p) x_draw_glyph_string_bg_rect (s, s->x, s->y, s->background_width, s->height);